﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Script.Serialization;

namespace Keepo.Models
{
    public class User
    {
        public User()
        {

        }

        public int UserId { get; set; }

        public string Username { get; set; }
        public string Email { get; set; }
        public string Password { get; set; }

        public string FirstName { get; set; }
        public string LastName { get; set; }
        public string Phone { get; set; }
        public string Mobile { get; set; }

        public DateTime RegistrationDate { get; set; }
        public string ActivationKey { get; set; }
        public bool Activate { get; set; }
        public bool NewsletterSubscription { get; set; }

        public DateTime? LastLogin { get; set; }
        public string LastIP { get; set; }

        public int UserPermissionId { get; set; }
        public virtual UserPermission UserPermission { get; set; }
    }
}